package edu.stanford.cs.cs294s;

import com.google.android.maps.GeoPoint;

public class Point {
	private String name;
	private String facts;
	private int latitude;
	private int longitude;
	private int index;
	
	public Point(){
	}
	
	public Point(int lat, int log){
		this.latitude = lat;
		this.longitude = log;
	}
	
	public Point (GeoPoint gpoint){
		this.latitude = gpoint.getLatitudeE6();
		this.longitude = gpoint.getLongitudeE6();
	}
	
	public int getIndex() {
		return index;
	}
	public void setIndex(int index) {
		this.index = index;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getFacts() {
		return facts;
	}
	public void setFacts(String  facts) {
		this.facts = facts;
	}
	public int getLatitude() {
		return latitude;
	}
	public void setLatitude(int latitude) {
		this.latitude = latitude;
	}
	public int getLongitude() {
		return longitude;
	}
	public void setLongitude(int longitude) {
		this.longitude = longitude;
	}
}
